package com.carbonspark.ecoquest.application.convert;


import com.carbonspark.ecoquest.application.dto.TaskDTO;
import com.carbonspark.ecoquest.domain.entity.TaskBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * Permission dto转换器
 */

@Mapper
public interface TaskDTOConverter {

    TaskDTOConverter INSTANCE = Mappers.getMapper(TaskDTOConverter.class);
    TaskBO convertDTOToBO(TaskDTO taskDTO);
    TaskDTO convertBOToDTO(TaskBO taskBO);
}
